package com.tw.management.controller;

import javax.annotation.Resource;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.tw.management.service.UserService;

/**
 * 
 * @author TangW
 * @version 1.0
 *
 */
@Controller
@RequestMapping("/user")
public class UserController {

	private static Logger logger = LoggerFactory.getLogger(UserController.class);

	@Resource(name = "userService")
	private UserService service;

	@RequestMapping(value = "/", method = RequestMethod.GET)
	public String adminIndex() {
		logger.info(" User Page. ");
		return "user/user-index";
	}

}
